package com.caishi.lkx.order.ienum.type;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author by keray
 * date:2019/7/29 10:35
 */
public enum PaymentType
{
    //
    weixin("微信支付", 1),
    alipay("支付宝支付", 2),
    balance("余额支付", 3),
    offline("线下交易", 5),
    free("免费支付", 6),
    agentpay("代理商支付", 7),
    activationCode("激活码支付", 8),
    applypay("苹果支付", 9),
    unionpay("银联支付", 10),
    ;
    @Getter
    final
    String desc;

    @EnumValue
    @Getter
    final
    Integer code;

    PaymentType(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }
}
